-- card: 5655 from stack: in -- bmap block id: 6043 -- flags: 0000 -- background id: 2700 -- name: ----- HyperTalk script ----- on opencard global right, wrong put 0 into right put right into field numright put 0 into wrong put wrong into field numwrong click at loc of card field result end opencard -- part 1 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=231 top=164 right=194 bottom=274 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: second -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=230 top=207 right=237 bottom=276 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: result ----- HyperTalk script ----- on returnInField global right,wrong if card field result <> (card field first)/(card field second) then put "Try again" into card field feedback talk card field feedback ,150,150 put "" into card field result put wrong +1 into wrong put wrong into field numwrong end if if card field result = (card field first)/(card field second) then put right +1 into right put right into field numright put "Right" into card field feedback talk card field feedback,150,150 put round of random of 9 into card field second put (round of random of 9)*card field second into card field first talk card field first,150,150 talk "divided by",150,150 talk card field second,150,150 put "" into card field result end if put "" into card field feedback click at the loc of card field result end returnInField -- part 4 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=231 top=127 right=158 bottom=274 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: first -- part 5 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=341 top=123 right=149 bottom=463 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 18 -- style flags: 256 -- line height: 24 -- part name: feedback -- part contents for background part 6 ----- text ----- test -- part contents for card part 1 ----- text ----- 6 -- part contents for card part 4 ----- text ----- 54 -- part contents for card part 9 ----- text ----- 0 -- part contents for card part 10 ----- text ----- 0 -- part contents for background part 22 ----- text ----- 0 -- part contents for background part 23 ----- text ----- 0